package com.ml.springbootidus.pojo;


import com.baomidou.mybatisplus.annotation.*;
import lombok.*;
import org.apache.ibatis.type.JdbcType;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户实体类
 */
@Data
@TableName(value = "userInfo")
@KeySequence(value = "SEQ_USER_ID", clazz = String.class)
public class UserInfo implements Serializable {
    //    @TableField(jdbcType = JdbcType.INTEGER)
    @TableId(type = IdType.INPUT)
    private String userid;//用户ID
    @TableField(jdbcType = JdbcType.VARCHAR)
    private String uname;//用户姓名
    @TableField(jdbcType = JdbcType.CHAR)
    private String usex;//用户性别
    @TableField(jdbcType = JdbcType.VARCHAR)
    private String udescription;//用户详情/评价
    @TableLogic
    @TableField(jdbcType = JdbcType.INTEGER)
    private Integer ustatus;//用户状态
    @TableField(jdbcType = JdbcType.DATE)
    private Date creattime;//创建时间
}
